<?php

class ModuleInstanceList extends DBList {
	
	protected $dbTable = "tblModuleInstance";
	protected $rowClassType = "ModuleInstanceItem";
	
}

class ModuleInstanceItem extends DBListItem {
	
	protected function loadCustomData() {
		$this->lazydata["Module"] = "getModule"; 
	}
	
	public function getModule() {
		return new ModuleItem($this->fkModule);		
	}
}

?>